from flask import Flask
from flask_uploads import configure_uploads
from flask_uploads import UploadSet, TEXT

txts = UploadSet('photos', TEXT)


def init_upload(app: Flask):
    configure_uploads(app, txts)
